<?php
/*
 *
 * Mobilize custom index
 *
 * @package mobilize
 * @author Per Jensen - Elggzone
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License v2
 * @copyright Copyright (c) 2013, Per Jensen
 *
 * @link http://www.perjensen-online.dk/
 *
 */?>
 
 <div id="content">
 <div class="loading" style="display:none;"><img src="<?php echo elgg_get_site_url(); ?>_graphics/ajax-loader.gif" /></div>
 <input type="hidden" id="page_history" value="viewcourse">
  
 <div id="viewcourse" class="page" style="display:none">
	<?php echo elgg_view('golfscore/courses'); ?>
 </div>
 
 <div id="viewscore" class="page"  style="display: none">
 	
 </div>
 <div id="viewscoredetail" class="page"  style="display: none">
 
 </div>
 <div id="enterscore" class="page" style="display: none"></div>
 
 <div id="viewuserscore" class="page" style="display: none"></div>
  <div id="viewlogin" class="page" style="display:none"></div>
 </div>
 <div class="page" id="viewhole" style="display:none"></div>
 <div id="mapcourse" class="page active">
 	<?php echo elgg_view('golfscore/map_courses'); ?>
 </div>
 <div id="holedetail" class="page" style="display:none"></div>
 <div id="edit_holedetail" class="page"></div>
<script type="text/javascript">
	if ($('#viewscore:empty')){
		 	$('.elgg-page-header').hide();
		}
</script>